//
// api.js
// hs-admin
//
// Created by 区区电脑 on 2023/09/26.
//



import request from "@/request"
/**
 * 查询组织树
 * @param params
 * @returns {*}
 * @constructor
 */
export function GetOrgTreeList(params = {}) {
    return request({url: `/api/SysOrg/GetOrgTree`, method: 'get', params})
}

/**
 * 查询下拉用户
 * @param data
 * @returns {*}
 * @constructor
 */
export function GetSelectUserList(data = {}) {
    return request({url: "/api/SysUser/GetSelectUserList", method: "post", data})
}

/**
 * 获取用户列表
 * @param data
 * @returns {*}
 * @constructor
 */
export function GetUserList(data = {}) {
    return request({url: '/api/SysUser/GetUserList', method: 'POST',  data})
}
